<div class="col-md-2 sidebar">
    <div class="sidebar_top">
        <h1><a href="/">C<span>先生</span></a></h1>
    </div>
    <div class="top-navigation">
        <div class="t-menu">菜单</div>

        <div class="t-img">
            <img src="images/lines.png" alt="" />
        </div>
        <div class="clearfix"> </div>
    </div>
    <div class="drop-navigation">
        <div class="top-menu">

                <!-- <option value="Java">Java</option>
                <option value="Design">设计模式</option>
                <option value="Thread">多线程</option>
                <option value="Nginx">Nginx</option>
                <option value="SpringBoot">SpringBoot</option>
                <option value="SpringCloud">SpringCloud</option>
                <option value="Linux">Linux</option>
                <option value="Jvm">Jvm</option>
                <option value="Netty">Netty</option>
                <option value="Kafka">Kafka</option>
                <option value="Redis">Redis</option>
                <option value="Mongodb">Mongodb</option>
                <option value="Mysql">Mysql</option>
                <option value="Oracle">Oracle</option>
                <option value="Python">Python</option>
                <option value="Php">Php</option>
                <option value="Spark">Spark</option>
                <option value="Hadoop">Hadoop</option> -->

            <ul id="indexMenu">
                <li class="/"><a href="/">主页</a></li>
                <li><a href="/blog?type=Java">Java</a></li>
                <li><a href="/blog?type=Design">设计模式</a></li>
                <li><a href="/blog?type=Thread">多线程</a></li>
                <li><a href="/blog?type=Nginx">Nginx</a></li>
                <li><a href="/blog?type=SpringBoot">SpringBoot</a></li>
                <li><a href="/blog?type=SpringCloud">SpringCloud</a></li>
                <li><a href="/blog?type=Linux">Linux</a></li>
                <li><a href="/blog?type=Jvm">Jvm</a></li>
                <li><a href="/blog?type=Netty">Netty</a></li>
                <li><a href="/blog?type=Kafka">Kafka</a></li>
                <li><a href="/blog?type=Redis">Redis</a></li>
                <li><a href="/blog?type=Mongodb">Mongodb</a></li>
                <li><a href="/blog?type=Mysql">Mysql</a></li>
                <li><a href="/blog?type=Oracle">Oracle</a></li>
                <li><a href="/blog?type=Python">Python</a></li>
                <li><a href="/blog?type=Php">Php</a></li>
                <li><a href="/blog?type=Spark">Spark</a></li>
                <li><a href="/blog?type=Hadoop">Hadoop</a></li>
                <!-- <li><a href="/Environment">环境搭建</a></li> -->
                <li><a href="/About">关于我</a></li>
                <li><a href="/comment">留言</a></li>
            </ul>
        </div>
        <script>
            $( ".top-navigation" ).click(function() {
                $( ".drop-navigation" ).slideToggle( 300, function() {
                    // Animation complete.
                });
            });

            $(document).ready(function () {

                // getArticleType();
                // function getArticleType() {
                //     $.post("/getArticleType",function (result) {
                //         console.log(result);
                //         var ajaxText = result.allResult;
                //         for(var i = 0; i < ajaxText.length; i++){
                //             var cla='';
                //             if(ajaxText[i].url == "/"){
                //                 cla = "class='/'";
                //             }
                //             var html = "<li "+cla+"><a href="+ajaxText[i].url+">"+ajaxText[i].text+"</a></li>";
                //             $('#indexMenu').append(html);
                //         }
                //     });
                // }
            })
        </script>

        <div class="side-btm">
            <div class="copyright">
                <!-- <p>Design by Scott Jeremy</p>
                <p>Copyright &copy; 2016.Scott All rights reserved.</p>
                <p><a href="#">粤ICP备16097955号-1</a></p> -->
            </div>
        </div>
    </div>
</div>